Jumbotron are styled web site header.
Install bar.jumbotron with Bower.
$ bower install bar.jumbotron --save
Include the required libraries is your index.html
:
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/jumbotron/jumbotron.min.js"></script>
<script src="bower_components/jumbotron/jumbotron.tpl.min.js"></script>
Inject the bar.jumbotron
module into your app:
angular.module('myApp', ['mgcrea.ngStrap']);
Clone the repo, git clone git://github.com/douglasduteil/angular-utility-belt/.git
, download the latest release or install with bower bower install bar.jumbotron#master --save
.
AngularStrap is tested with karma
against the latest stable release of AngularJS.
$ npm install
$ gulp test
You can build the latest version using gulp
.
$ gulp dist
You can quickly hack around (the docs) with:
$ gulp serve
Please submit all pull requests the against master branch. If your unit test contains JavaScript patches or features, you should include relevant unit tests. Thanks!
The jumbotron directive. Have a sweet header.
Param | Type | Details |
---|---|---|
title (optional) |
string
|
The jumbotron title. Defaults :‘Hello World’
|
class (optional) |
string
|
The jumbotron additional class. Defaults :‘jumbotron—bar’
|
Param | Type | Details |
---|---|---|
class |
string
|
the class name |
title |
string
|
the title |
templateUrl |
string
|
the used template URL |